package com.zyd.blog.business.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zyd.blog.persistence.beans.BizCaredUser;

import java.util.Date;

/**
 * @author yadong.zhang (yadong.zhang0415(a)gmail.com)
 * @website https://www.zhyd.me
 * @version 1.0
 * @date 2018/4/16 16:26
 * @since 1.0
 */
public class CaredUser {
    private static final long serialVersionUID = 1L;
    private BizCaredUser bizCaredUser;

    public CaredUser() {
        this.bizCaredUser = new BizCaredUser();
    }

    public CaredUser(BizCaredUser bizCaredUser) {
        this.bizCaredUser = bizCaredUser;
    }

    @JsonIgnore
    public BizCaredUser getBizCaredUser() {
        return this.bizCaredUser;
    }

    public Long getId() {
        return this.bizCaredUser.getId();
    }

    public void setId(Long id) {
        this.bizCaredUser.setId(id);
    }

    public long getCaredUserId() {
        return this.bizCaredUser.getCaredUserId();
    }

    public void setCaredUserId(long caredUserId) {
        this.bizCaredUser.setCaredUserId(caredUserId);
    }

    public long getUserId() {
        return this.bizCaredUser.getUserId();
    }

    public void setUserId(long userId) {
        this.bizCaredUser.setUserId(userId);
    }

    public Date getCareTime() {
        return this.bizCaredUser.getCareTime();
    }

    public void setCareTime(Date careTime) {
        this.bizCaredUser.setCareTime(careTime);
    }

    public Date getCreateTime() {
        return this.bizCaredUser.getCreateTime();
    }

    public void setCreateTime(Date createTime) {
        this.bizCaredUser.setCreateTime(createTime);
    }

    public Date getUpdateTime() {
        return this.bizCaredUser.getUpdateTime();
    }

    public void setUpdateTime(Date updateTime) {
        this.bizCaredUser.setUpdateTime(updateTime);
    }

}

